package com.huitone.gddw.dao.worktable;

import java.util.List;
import java.util.Map;

import com.huitone.gddw.service.dto.NetSwtichDTO;

public interface INetSwtichDao {

	/**
     * 列表查询
     * @param
     * @return List<NetSwtichDTO> 
     */
    String selectPage();
    
    /**
     * 单条数据查询
     * @param srvId
     * @param srvName
     * @return
     */
    List<NetSwtichDTO> selectNetByIdOrName(Map<String, Object> map);
    /**
     *  一键切换
     * @param lineType
     */
    Integer updateAllTerrace(String runType);
    
    int selectCount(Map<String,Object> map);
}